{$CLEO .CS}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 0 
if and 
Player.Defined($PLAYER_CHAR)
$ONMISSION == 0
jf @NONAME_2
jump @noname_3

:noname_3
wait 0
if or
//00DF:   actor $PLAYER_ACTOR driving
//09AE:   actor $PLAYER_ACTOR driving_train
//04C8:   actor $PLAYER_ACTOR driving_flying_vehicle
//80DF:   not actor $PLAYER_ACTOR driving
00ED:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 on_foot
00EE:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 in_car
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0
0100:   actor $PLAYER_ACTOR in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0 sphere 1 in_car
00EC:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0
//jump @zones
jf @noname_3
//:zones
//wait 0
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // LS
//0583:   player $PLAYER_CHAR in_zone 'LA'  
//0154:   actor $PLAYER_ACTOR in_zone 'PALO'  // LS
//0583:   player $PLAYER_CHAR in_zone 'PALO'
//0154:   actor $PLAYER_ACTOR in_zone 'VE'  // LS
//0583:   player $PLAYER_CHAR in_zone 'VE' 
//jf @zones
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // 
//0583:   player $PLAYER_CHAR in_zone 'VE'  
//0154:   actor $PLAYER_ACTOR in_zone 'ROBAD'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'BONE'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'GANTB'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'GANTB1'  //  
   //$ONMISSION == 0
//jf @load
jump @load

:load
wait 0
Model.Load(#FREIGHT)
Model.Load(#FREIFLAT)
Model.Load(#FREIBOX)
Model.Load(#STREAK)
Model.Load(#STREAKC)
Model.Load(#TRAM)
//Model.Load(662)
//Model.Load(663)
038B: load_requested_models 
wait 0 
jump @NONAME_79 

:NONAME_79
wait 0 
//06D8: 1@ = create_train_at 1709.22 -2827.91 276.19 type 0 direction 0 
//1665.7228 -2832.0869 85.5328 2 pyt
06D8: 1@ = create_train_at -772.869 -1619.85 -45.29 type 5 direction 1
0186: 2@ = create_marker_above_car 1@
0165: set_marker 2@ color_to 7
//0430: put_actor $PLAYER_ACTOR into_car 1@ passenger_seat 0
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0 
//09CF: set_train 1@ stop_at_stations 1
wait 3000 
06DC: set_train 1@ acc 20.0 
06DD: set_train 1@ speed 30.0 
Model.Destroy(#FREIGHT)
Model.Destroy(#FREIFLAT)
Model.Destroy(#FREIBOX)
Model.Destroy(#STREAK)
Model.Destroy(#STREAKC)
Model.Destroy(#TRAM)
jump @platf1



:prov_1
wait 0 
//if or
//0154:   actor $PLAYER_ACTOR in_zone 'LA'  // 
//0583:   player $PLAYER_CHAR in_zone 'VE'  
//0154:   actor $PLAYER_ACTOR in_zone 'SF'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'FLINTC'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'GANTB'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'GANTB1'  //  
//0583:   player $PLAYER_CHAR in_zone 'VE'  
//0154:   actor $PLAYER_ACTOR in_zone 'ROBAD'  // 
//0154:   actor $PLAYER_ACTOR in_zone 'BONE'  // 
//jf @prov_2
jump @prov_2

:prov_2
wait 0
if or    //stalo ploxo
$ONMISSION == 1
0112:   wasted_or_busted
0118:   actor $PLAYER_ACTOR dead
0981:   train 1@ wrecked
02BF:   car 1@ sunk
01F4:   car 1@ flipped
jf @provnasa
jump @destr

:provnasa
wait 0
if or
00ED:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 on_foot
00EE:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0 in_car
00FE:   actor $PLAYER_ACTOR sphere 0 in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0
0100:   actor $PLAYER_ACTOR in_sphere 0.0 0.0 0.0 radius 3000.0 3000.0 3000.0 sphere 1 in_car
00EC:   actor $PLAYER_ACTOR 0 near_point 0.0 0.0 radius 3000.0 3000.0
jf @destr
jump @platf1

:platf1
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2690.92 -1549.96 -53.0096 radius 14.0 14.0 14.0      //sportivnaya1
jf @platf2  
jump @NONAME_926 

:platf2
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1476.73 -1192.99 -53.0102 radius 14.0 14.0 14.0       //commercia1
jf @platf3 
jump @NONAME_926 

:platf3
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 411.154 -1507.41 -53.0077 radius 14.0 14.0 14.0      //rodeo1
jf @platf4 
jump @NONAME_926 

:platf4
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2010.06 -810.235 10.9954 radius 14.0 14.0 14.0    //foster walley1
jf @platf5 
jump @NONAME_926 

:platf5
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2146.91 275.603 10.9891 radius 14.0 14.0 14.0    //cranberry1
jf @platf6 
jump @NONAME_926 

:platf6
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -1794.26 872.369 4.995 radius 14.0 14.0 14.0    //piramida1
jf @platf7 
jump @NONAME_926 

:platf7
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2487.77 954.81 30.6911 radius 14.0 14.0 14.0    //depo hostivar1
jf @platf8 
jump @NONAME_926


:platf8
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2720.37 1352.08 39.34 radius 14.0 14.0 14.0    //red most1
//1845.1808 -1422.4746 29.8384      GLENPARK GOLOV
//jf @prov_1
jf @platf9
jump @NONAME_926

////////:platf7

:platf9
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2366.16 2531.63 36.8814 radius 14.0 14.0 14.0    //marina1
jf @platf10 
jump @NONAME_926

:platf10
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2452.0 2533.96 35.5282 radius 14.0 14.0 14.0    //marina2
jf @platf11
jump @NONAME_926

:platf11
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2722.14 1295.71 37.7536 radius 14.0 14.0 14.0    //red most2
jf @platf12 
jump @NONAME_926

:platf12
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2284.91 984.191 30.6944 radius 14.0 14.0 14.0    //depo hostivar2
jf @platf13
jump @NONAME_926

:platf13
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -1797.23 875.133 4.9942 radius 14.0 14.0 14.0    //piramida2
jf @platf14
jump @NONAME_926

/////
:platf14
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2150.95 277.829 10.9917 radius 14.0 14.0 14.0    //Cranberry2
jf @platf15 
jump @NONAME_926

:platf15
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere -2013.69 -812.113 10.9946 radius 14.0 14.0 14.0    //foster walley2
jf @platf16
jump @NONAME_926

:platf16
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 413.443 -1510.86 -53.0082 radius 14.0 14.0 14.0    //rodeo2
jf @platf17 
jump @NONAME_926

:platf17
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 1475.99 -1196.94 -53.0055 radius 14.0 14.0 14.0    //commercia2
jf @platf18
jump @NONAME_926

:platf18
wait 0 
if 
01AF:   car 1@ sphere 0 in_sphere 2686.68 -1549.61 -53.0077 radius 14.0 14.0 14.0    //sportivnaya2
jf @prov_1
jump @NONAME_926







///jf @prov_1 
///jump @NONAME_926


 //:prov2
//wait 0
//if or
//$ONMISSION == 1
//0112:   wasted_or_busted
//0118:   actor $PLAYER_ACTOR dead
//0981:   train 1@ wrecked
//02BF:   car 1@ sunk
//01F4:   car 1@ flipped

:NONAME_926 
wait 0
06DC: set_train 1@ acc 0.0 
06DD: set_train 1@ speed 0.0 
wait 8000
06DC: set_train 1@ acc 10.0 
06DD: set_train 1@ speed 16.0 
wait 3000 
06DC: set_train 1@ acc 20.0 
06DD: set_train 1@ speed 30.0  
jump @prov_1

:destr
wait 0
0164: disable_marker 2@
07BD: destroy_train 1@
07BE: remove_references_to_train 1@
jump @NONAME_2